﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Nav.Master" AutoEventWireup="true" CodeBehind="First.aspx.cs" Inherits="BBPA.Admin.Store.Goods.First" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
    <script>
        $(function () {
            $("body").width(605);
            parent.frame_list_ok();
        })
    </script>
    <style>
        h3 { display: inline; }
        .more { line-height: 40px; margin-left: 10px; }
        .list_picBox { height: 110px; text-align: center; }
        .list_pic { height: 100%; }
        .GoodsUl { border-left: 1px solid #E5E5E5; border-top: 1px solid #E5E5E5; overflow: hidden; margin-bottom: 30px; }
            .GoodsUl, .GoodsUl li { display: block; }
                .GoodsUl li { width: 150px; height: 250px; float: left; cursor: pointer; border-right: 1px solid #E5E5E5; border-bottom: 1px solid #E5E5E5; overflow: hidden; }
                    .GoodsUl li:hover { background-color: #FFFDC9; }
                    .GoodsUl li .con_div { margin: 10px; }
        .GoodsName { height: 40px; overflow: hidden; }
    </style>
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="cph_conNav" runat="server">
    <h3 style="">销售排行</h3>
    <a href="###" href-list="list.aspx" class="more">更多…</a>
    <asp:Repeater ID="rp_Orders_GoodsAmoun" runat="server">
        <HeaderTemplate>
            <ul class="GoodsUl">
        </HeaderTemplate>
        <ItemTemplate>
            <li href-right="/sys/goods/Info.aspx?id=<%#Eval("id") %>" title="<%#Eval("Name") %>">
                <div class="con_div" data-row-title="<%#Eval("Name") %>" data-row-href-right="/sys/goods/info.aspx?id=<%#Eval("id") %>">
                    <div class="list_picBox">
                        <img class="list_pic" src="<%#DataTypePlus.requestString( Eval("PicURL")).Replace("UploadFiles","UploadFiles/_thumbs") %>" onerror="$(this).hide();" /></div>
                    <div><%#Eval("Number") %></div>
                    <div class="GoodsName"><%#Eval("BrandName") %> <%#Eval("Name") %> <%#Eval("Code") %></div>
                    <h4><%#StringPlus.showMoney( Eval("SellPrice")) %>
                        <span class="label <%#BBPA.BLL.Goods.HaveDiscountSell_ing(Eval("id"))?"label-info":"" %>">折</span>
                        <span class="label <%#BBPA.BLL.Goods.HaveGiftNumberSell_ing(Eval("id"))?"label-info":"" %>">赠</span>
                    </h4>
                    <a href-right="../Orders/Form_Goods.aspx?GoodsID=<%#Eval("id") %>" class="btn btn-info" title="加入订单">加入订单</a>
                </div>
            </li>
        </ItemTemplate>
        <FooterTemplate></ul></FooterTemplate>
    </asp:Repeater>
    <h3>销售额排行</h3>
    <a href="###" href-list="list.aspx" class="more">更多…</a>
    <asp:Repeater ID="rp_SellPrice" runat="server">
        <HeaderTemplate>
            <ul class="GoodsUl">
        </HeaderTemplate>
        <ItemTemplate>
            <li href-right="/sys/goods/Info.aspx?id=<%#Eval("id") %>" title="<%#Eval("Name") %>">
                <div class="con_div" data-row-title="<%#Eval("Name") %>" data-row-href-right="/sys/goods/info.aspx?id=<%#Eval("id") %>">
                    <div class="list_picBox">
                        <img class="list_pic" src="<%#DataTypePlus.requestString( Eval("PicURL")).Replace("UploadFiles","UploadFiles/_thumbs") %>" onerror="$(this).hide();" /></div>
                    <div><%#Eval("Number") %></div>
                    <div class="GoodsName"><%#Eval("BrandName") %> <%#Eval("Name") %></div>
                    <h4><%#StringPlus.showMoney( Eval("SellPrice")) %>
                        <span class="label <%#BBPA.BLL.Goods.HaveDiscountSell_ing(Eval("id"))?"label-info":"" %>">折</span>
                        <span class="label <%#BBPA.BLL.Goods.HaveGiftNumberSell_ing(Eval("id"))?"label-info":"" %>">赠</span>
                    </h4>
                    <a href-right="../Orders/Form_Goods.aspx?GoodsID=<%#Eval("id") %>" class="btn btn-info" title="加入订单">加入订单</a>
                </div>
            </li>
        </ItemTemplate>
        <FooterTemplate></ul></FooterTemplate>
    </asp:Repeater>
    <h3>活动商品</h3>
    <a href="###" href-right="list.aspx?search_check_sellway=1" class="more">更多…</a>
    <asp:Repeater ID="rp_SellWay" runat="server">
        <HeaderTemplate>
            <ul class="GoodsUl">
        </HeaderTemplate>
        <ItemTemplate>
            <li href-info="/sys/goods/Info.aspx?id=<%#Eval("id") %>" title="<%#Eval("Name") %>">
                <div class="con_div" data-row-title="<%#Eval("Name") %>" data-row-href-right="/sys/goods/info.aspx?id=<%#Eval("id") %>">
                    <div class="list_picBox">
                        <img class="list_pic" src="<%#DataTypePlus.requestString( Eval("PicURL")).Replace("UploadFiles","UploadFiles/_thumbs") %>" onerror="$(this).hide();" /></div>
                    <div><%#Eval("Number") %></div>
                    <div class="GoodsName"><%#Eval("BrandName") %> <%#Eval("Name") %></div>
                    <h4><%#StringPlus.showMoney( Eval("SellPrice")) %>
                        <span class="label <%#BBPA.BLL.Goods.HaveDiscountSell_ing(Eval("id"))?"label-info":"" %>">折</span>
                        <span class="label <%#BBPA.BLL.Goods.HaveGiftNumberSell_ing(Eval("id"))?"label-info":"" %>">赠</span>
                    </h4>
                    <a href-right="../Orders/Form_Goods.aspx?GoodsID=<%#Eval("id") %>" class="btn btn-info" title="加入订单">加入订单</a>
                </div>
            </li>
        </ItemTemplate>
        <FooterTemplate></ul></FooterTemplate>
    </asp:Repeater>
</asp:Content>
